/**
 * @file: 飞镖发射系统总控
**/


#ifndef PROJECT_MASTER_CONTROL_H
#define PROJECT_MASTER_CONTROL_H

#include "stm32f4xx.h"
#include "cmsis_os.h"

#include "yaw_control.h"
#include "dart_control.h"
#include "load_control.h"
#include "locate_control.h"

extern uint8_t Master_Process_Flag;

enum Master_Process{
    Initializing = 0,
    DartLoadReady = 1,
    DartLoading = 2,
    DartFireReady = 3,
    DartFireFinished = 4,
};

void Master_Control_Init();
void Master_Control();

#endif //PROJECT_MASTER_CONTROL_H
